﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html class="loginHtml">
<head>
    
    <script>
        if (window !== top) {    //当Session过期之后,我们需要从iframe标签中跳转到最外层的登录页面
            top.location.href = location.href;
        }
    </script>

    <meta charset="utf-8">
    <title>仓库后台管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" href="/favicon.ico">
    <link rel="stylesheet" href="/resources/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/resources/css/public.css" media="all"/>

    <style>
        body {
            margin: 0;  /*body外边距设为0*/ 
        }

        video {
            position: fixed;
            right: 0;
            bottom: 0;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: -100;
           -webkit-filter: grayscale(20%);
        }
    </style>

</head>
<body class="loginBody">
<div>
    <video autoplay="autoplay" loop="loop">
        <source src="~/resources/images/back_video.mp4"type="video/mp4"/>
    </video>
</div>


<form class="layui-form">
    <div id="userLogin" class="login_face"><img src="/resources/images/face.jpg" class="userAvatar"></div>
    <div class="layui-form-item input-item">
        <label for="userName">用户名</label>
        <input type="text" placeholder="请输入用户名" autocomplete="off" id="userName" name="loginName" class="layui-input" lay-verify="required">
    </div>
    <div class="layui-form-item input-item">
        <label for="password">密码</label>
        <input type="password" placeholder="请输入密码" autocomplete="off" id="password" name="pwd" class="layui-input" lay-verify="required">
    </div>
    <div class="layui-form-item input-item" id="imgCode">
        <label for="code">验证码</label>
        <input type="text" name="verificationCode" placeholder="请输入验证码" autocomplete="off" id="code" class="layui-input" lay-verify="required">
        @*<img src="/resources/images/code.jpg">*@
        <img id="verificationCode" src="/Login/VerificationCode" originalSrc="/Login/VerificationCode">
    </div>
    <div class="layui-form-item">
        <button class="layui-btn layui-block" lay-filter="login" lay-submit>登录</button>
    </div>
    <div class="layui-form-item layui-row">
        <a href="javascript:;" class="seraph icon-qq layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
        <a href="javascript:;" class="seraph icon-wechat layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
        <a href="javascript:;" class="seraph icon-sina layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
    </div>
</form>
<script type="text/javascript" src="/resources/layui/layui.js"></script>
<script type="text/javascript" src="/resources/page/login/login.js"></script>
<script type="text/javascript" src="/resources/js/cache.js"></script>
</body>
</html>